package com.xy.modular.basics.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.basics.dao.UserTokenMapper;
import com.xy.modular.basics.entity.user.UserAuthToken;
import com.xy.modular.basics.service.IUserTokenService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userAuthToken")
public class IUserAuthTokenServiceImpl extends BaseServiceImpl<UserAuthToken, String> implements IUserTokenService {

	@Resource
	private UserTokenMapper userTokenMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.userTokenMapper;
	}

	@Override
	public void validateEntity(UserAuthToken userAuthToken) throws ValidateParamException {

	}
}
